-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: snapshot tests for storage_types
contract dryrun results
#470
Conversation
… "storage_types" contract
✅ Deploy Preview for contracts-ui ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
The decoded values for |
storage_types
contract dryrun resultsstorage_types
contract dryrun results
It's correct actually, the |
Ah true, I forgot to return something else than the unit value. I adapted the contract and updated this branch. Will return a bool for Ok Result and Some Option. Furthermore I removed the code related to the Mapping type. Afaik an ink message is not able to return a whole mapping only individual values or an array. |
adds snapshot testing of the dryrun results of the functions from the "storage_types" contract.
Contract source can be found here: use-ink/ink#1762